﻿using CommunityToolkit.Mvvm.ComponentModel;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using 雷赛板卡上位机.ViewModel;

namespace 雷赛板卡上位机.Models
{
    public  class AxisItemTreeData
    {
        public int Id { get; set; }
        
        public string Name { get; set; }
        public int StepId { get; set; }
        public int ParentId { get; set; }

        private ObservableCollection<AxisItemTreeData> _data;

        public ObservableCollection<AxisItemTreeData> Children
        {
            get { return _data; }
        }
        public bool IsExpanded { get; set; }
        public bool IsSelected { get; set; }
        public AxisItemTreeData()
        {
            _data = new ObservableCollection<AxisItemTreeData>();
        }
    }
}
